<template>
  <div class="hm-layout">
    <!-- 二级路由出口 -->
    <router-view></router-view>
    <van-tabbar route active-color="#fa6d1d">
      <van-tabbar-item replace to="/layout/article" icon="fire-o"
        >面经</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/collect" icon="star-o"
        >收藏</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/like" icon="like-o"
        >点赞</van-tabbar-item
      >
      <van-tabbar-item replace to="/layout/my" icon="friends-o"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: "HmLayout",
};
</script>

<style lang="less" scoped></style>
